package com.wlz.learnjuc.sync;

/**
 *  锁粗化
 * @author wlz
 * @date 2022-04-11  10:31 下午
 */
public class LockAddTest {

    StringBuffer stringBuffer = new StringBuffer();

    public void append() {
        stringBuffer.append("a").append("b").append("c");
    }

    public static void main(String[] args) {
        LockAddTest lockAddTest = new LockAddTest();
        lockAddTest.append();
    }


}
